package net.com.hydroPK.net.packethandler;

import net.com.hydroPK.model.Player;

/**
 * @author codeusa <codeusa@live.com> <codeusa.net>
 */

public class ItemOnNPC {

    /**
     * Class constructor
     */
    public ItemOnNPC() {
        //Nothing
    }

    public void addItemOnNPCEvent(Player player) {
        int itemId = player.stream.readUnsignedWordA();
        int npcSlot = player.stream.readUnsignedWordA();
        int randomIndex = player.stream.readUnsignedWordA();
        int interfaceId = player.stream.readUnsignedWordA();
        player.getActionSender().sendMessage(player, "itemid: " + itemId);
        player.getActionSender().sendMessage(player, "npcslot: " + npcSlot);
        player.getActionSender().sendMessage(player, "index: " + randomIndex);
        player.getActionSender().sendMessage(player, "interface: " + interfaceId);
        if (interfaceId == 3214) {
        }
    }

}